$(function () {
    //产品列表页轮播图
    $("#target-1").HappyImage({
        effect: "slide"
    });
    $("#target-2").HappyImage({
        effect: "fade"
    });

    let num=0
    $('#btn').on('click',function(){
        num++
        $('.small').animate({'top':-482*num},500,function(){
            if(num==3){
                $('.small').css('top',0)
                num=0
            }
        })
        
    })



})

